package cn.edu.scau.cmi.wangzm.composite.safe;

public class SafeLeaf extends SafeComponent {
    private String name;
    @Override
  	public String Run() {
  		return "我是安全性组合模式中的叶子组件";
  	}
  	@Override
  	public SafeComponent getParent() {
  		return this.getParent();
  	}
  	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
